puppet module is not using debug/summarize/verbose parameters in server-mode #53922
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
tried to enable the --debug and --summarize options of puppet via ansible, but even if the docs tell me this is supported, the resulting puppet-cli-call didnt had the --debug/--summarize options set.
ISSUE TYPE
COMPONENT NAME
system/puppet
ANSIBLE VERSION
2.7+
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
puppet:
puppetmaster: "{{pa_master_fqdn}}"
debug: true
summarize: true
EXPECTED RESULTS
puppet is executed with --debug --summarize
ACTUAL RESULTS
puppet is executed without --debug --summarize
I took a look into the code and it seems the options are only used if puppet-module is called with execute/manifest parameter. I will try to fix this myself and submit a suitable patch.